import service from '@/utils/request'

const CrutchApi = {
  // ---------------拐杖----------------
  addCrutch: function (data) {
    return service.post('crutch', data)
  },
  deleteCrutch: function (data) {
    return service.put('crutch/delete', data)
  },
  editCrutch: function (data) {
    return service.put('crutch', data)
  },
  listCrutch: function (data) {
    return service.get('crutch/page', {params: data })
  },
  getCrutchInfo: function (data) {
    return service.get('crutch', {params: data })
  },
}

export default CrutchApi
